<template>
  <div>
   <editoritem-vue :catchData="catchData" :content="editorContent"></editoritem-vue>
   <div :editorData="editorData">
   {{editorData}}
   </div>
  </div>
</template>

<script>
import editoritemVue from '../../components/editoritem.vue';
export default {
  name:'PageOne',
  components:{editoritemVue},
  data() {
    return {
      editorData:"",

    }
  },
  methods:{
    catchData(e)
    {
      this.editorData = e
       console.log("e=====?>", e);
    },
    editorContent(e)
    {
       console.log("e=====?>", e);
    }
  }
}
</script>

<style>

</style>